//
//  CourseDetailsViewController.h
//  BeanSproutEDU
//
//  Created by douya on 15/1/8.
//  Copyright (c) 2015年 douya. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MediaPlayer/MediaPlayer.h>
@class DouyaPlayerViewController;
@interface CourseDetailsViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,UIAlertViewDelegate>
{
    DouyaPlayerViewController *_viewPlayer;
    MPMoviePlayerController *_player;
    MPMoviePlayerViewController *viewPlayer;
    NSURL *_mediaPlayURL;
    NSMutableArray *_videoArray;
    NSTimer *_timer;
    int count;
   
}
@property(nonatomic,strong)NSMutableArray *mediaInfoArray;
@property (weak, nonatomic) IBOutlet UIView *courseView;//课程界面
@property (weak, nonatomic) IBOutlet UIView *evaluationView;//评价界面
@property (weak, nonatomic) IBOutlet UIButton *courseViewHeadBtn;//课程界面的老师头像
@property (weak, nonatomic) IBOutlet UILabel *courseViewTeacherName;//课程界面的老师名字
@property (weak, nonatomic) IBOutlet UILabel *courseViewSchoolName;//课程界面的学校名称
@property (weak, nonatomic) IBOutlet UITableView *courseViewTableView;//课程界面的课程表
@property (weak, nonatomic) IBOutlet UITableView *evlauationViewTabelView;//评价界面的评价列表
//切换与课程与评价界面的segment
- (IBAction)segmentControl:(UISegmentedControl *)sender;

@end
